package com.intellagric.mapper;

import com.intellagric.pojo.TraceItem;
import com.intellagric.pojo.TraceItemExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceItemMapper {
    long countByExample(TraceItemExample example);

    int deleteByExample(TraceItemExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceItem record);

    int insertSelective(TraceItem record);

    List<TraceItem> selectByExample(TraceItemExample example);

    TraceItem selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceItem record, @Param("example") TraceItemExample example);

    int updateByExample(@Param("record") TraceItem record, @Param("example") TraceItemExample example);

    int updateByPrimaryKeySelective(TraceItem record);

    int updateByPrimaryKey(TraceItem record);
}